/**
 * 
 */
package com.conan.zone.system.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.conan.zone.framework.dao.IAbstractDao;
import com.conan.zone.framework.service.impl.AbstractServiceImpl;
import com.conan.zone.system.dao.IUserDao;
import com.conan.zone.system.model.User;
import com.conan.zone.system.service.IUserService;

/**
 * @author Conan
 *
 */
@Service
public class UserServiceImpl extends AbstractServiceImpl<User> implements IUserService {
	
	@Resource
	@Qualifier("userDaoImpl")
	private IUserDao iUserDao;
	
	

	@Override
	@Resource
	@Qualifier("userDaoImpl")
	public void setiAbstractDao(IAbstractDao<User> iAbstractDao) {
		super.setiAbstractDao(iAbstractDao);
	}

	@Override
	public String tableJson(User t, String sEcho, List<User> list) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	@Transactional(propagation=Propagation.REQUIRED,readOnly=false)
	public void registerNewUser(User user) {
		// TODO Auto-generated method stub

	}

	@Override
	@Transactional(propagation=Propagation.REQUIRED,readOnly=false)
	public void activateUser(Long userId) {
		// TODO Auto-generated method stub

	}

	@Override
	@Transactional(propagation=Propagation.REQUIRED,readOnly=false)
	public void disableUser(Long userId) {
		// TODO Auto-generated method stub

	}

	@Override
	@Transactional(propagation=Propagation.REQUIRED,readOnly=false)
	public void updateUserInfo(User user) {
		// TODO Auto-generated method stub

	}

}
